package com.yuyou.train.user.mapper;

import com.yuyou.train.service.api.user.dto.UserPageDTO;
import com.yuyou.train.service.api.user.entity.UserDynamic;
import com.yuyou.train.user.vo.resp.RespUserDynamic;
import com.yuyou.train.util.bean.Pagination;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDynamicMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserDynamic record);

    int insertSelective(UserDynamic record);

    UserDynamic selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserDynamic record);

    int updateByPrimaryKey(UserDynamic record);

    int findUserDynamicPageCount(Pagination<RespUserDynamic> p);

    List<RespUserDynamic> findUserDynamicPage(Pagination<RespUserDynamic> p);
}